package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean pageBean);

    List<Setmeal> findAll();

    Setmeal findById(int id);

    List<Integer> findCheckGroupIdsSetMealId(Integer id);

    void editOfSetMeal(Setmeal setmeal, Integer[] checkgroupIds);

    void deleteMeal(Integer id);

    List<Map<String,Object>> findSetmealCount();
}
